﻿#include "GRender.h"
#include "CubeMesh.h"

int main(void)
{
	pRender = new GRender(500, 500);
	pRender->Init();

	GTexture* pTexture = new GTexture("test.png");
	CubeMesh* pCubeMesh = new CubeMesh(Eigen::Vector3f(0, 0, -2), 2.0f, pTexture);

	while (true)
	{
		pRender->Draw(pCubeMesh->m_lstTriangle);
		pRender->Active();
	}

	return 0;
}